﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Imaging;

namespace LowLevelGraphics.Filter
{
    /// <summary>
    /// 
    /// </summary>
    public abstract class ExperimentalMorphology : BaseForeBackgroundColorFilter
    {
        protected int[,] m_aKernel = null;

        /// <summary>
        /// Initializes a new instance of the <see cref="ExperimentalMorphology"/> class.
        /// </summary>
        public ExperimentalMorphology()
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ExperimentalMorphology"/> class.
        /// </summary>
        /// <param name="_aKernel">The _a kernel.</param>
        public ExperimentalMorphology(int[,] _aKernel)
        {
            m_aKernel = _aKernel;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ExperimentalMorphology"/> class.
        /// </summary>
        /// <param name="_experimentalMorphology">The _experimental morphology.</param>
        internal ExperimentalMorphology(ExperimentalMorphology _experimentalMorphology)
        {
            this.m_aKernel = _experimentalMorphology.m_aKernel;
        }

        /// <summary>
        /// Gets or sets the kernel.
        /// </summary>
        /// <value>The kernel.</value>
        public int[,] Kernel
        {
            get { return m_aKernel; }
            set { m_aKernel = value; }
        }
    }
}
